package designmode.observe;

public class Main {
    public static void main(String[] args) {
        ChangableData changableData = new ChangableData();
        changableData.addObserver(new NotifyA());
        changableData.addObserver(new NotifyB());
        changableData.setAge(19);
    }
}
